Object::Send
Section: ET++ method description (n)
Updated: automatically Fri Mar 1 10:54:57 1991
Index
Return to Main Contents
NAME
Object::Send - instance method
TEMPLATE
void Send(int objectId = -1, int partCode = cPartAnyChange, void * value = 0)
SPECIFIERS
public
virtual
DESCRIPTION
Sends the change message described by the arguments to all observers
of the receiver. Eventually, the method DoObserve operation of
the observers is invoked, so they can appropriately react.
See also method Changed.
The class EvtHandler overrides this method to additionally
forward the change message to the next handler. The next handler handles
the change message in method Control!. Thus, Control is another,
more specific mean to distribute change messages.
Examples: method VObject::SetOrigin, method
VObject::SetExtent.
Method is rarely overridden.
ARGUMENTS
- int objectId = -1
-
the id of the object which has changed or const cIdNone. The
current implementation literally uses -1 as default argument instead of
const cIdNone. This is a (minor) bug which will be fixed in
future versions.
- int partCode = cPartAnyChange
-
a code that describes what aspect of the observed object has changed.
Usually, the constants defining the part code values have names of the form
cPart....
- void * value = 0
-
an argument whose actual type and semantics depends on the values
of objectId and partCode.
RETURN ARGUMENT
void
CATEGORIES
change propagation, client interface
FIRST DEFINITION
class Object
FILES
- implementation:
-
Object.C
Index
- NAME
-
- TEMPLATE
-
- SPECIFIERS
-
- DESCRIPTION
-
- ARGUMENTS
-
- RETURN ARGUMENT
-
- CATEGORIES
-
- FIRST DEFINITION
-
- FILES
-
This document was created by
man2html,
using the manual pages.
Time: 00:40:25 GMT, March 30, 2022